package com.zeng.jiudian.mapper;

import com.zeng.jiudian.bean.ProductTypeModel;
import com.zeng.jiudian.bean.ProductTypeModelExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductTypeMapper
{
    long countByExample(ProductTypeModelExample example);

    int deleteByExample(ProductTypeModelExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ProductTypeModel record);

    int insertSelective(ProductTypeModel record);

    List<ProductTypeModel> selectByExample(ProductTypeModelExample example);

    ProductTypeModel selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ProductTypeModel record, @Param("example") ProductTypeModelExample example);

    int updateByExample(@Param("record") ProductTypeModel record, @Param("example") ProductTypeModelExample example);

    int updateByPrimaryKeySelective(ProductTypeModel record);

    int updateByPrimaryKey(ProductTypeModel record);
}